<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<html>
	<head>
	<base target="_self" />
		<title>选择下注页面</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script type="text/javascript">
			function closeWin(){
				window.close();
			}
			
			function opttxt_onkeypress(e)
		 	{
		 		var key=window.event ?e.keyCode:e.which;
		 		var keycode = String.fromCharCode(key);
		 		if(key==8||key==46) {   
		            return true;   
		        }  
				reg = /\d|\.|-/;
			 	return reg.test(keycode);
		 	}
			
		</script>
	</head>

	<body>
		<form method="post" action="bet!add.action">
			
  			<input type="hidden" id="hndpIdStr" name="hndpIdStr" value="${dqHandicap.hdpId}"/>
  			<input type="hidden" id="homeOrAwayFlagStr" name="homeOrAwayFlagStr" value="${homeOrAwayFlagStr}"/>
			<input type="hidden" id="seqStr" name="seqStr" value="${seqStr}"/>
			
			<table>
				<tr>
					<td>受让球是:</td>
					<td>${dqHandicap.dqHandicapType.description}</td>
				</tr>
				<tr>
					<td>你选择是：</td>
					<td>${betClub.clbSc}</td>
				</tr>
				<tr>
					<td>
					赔率：
					</td>
					<td>
					<c:if test="${homeOrAwayFlagStr == '1'}">
						${dqHandicap.homeClbRate}
					</c:if>
					<c:if test="${homeOrAwayFlagStr == '0'}">
						${dqHandicap.awayClbRate}
					</c:if>
					</td>
				</tr>
				<tr>
					<td>
					下注金额:
					</td>
					<td>
					<input type="text" name="stake" id="stake" onkeypress="return opttxt_onkeypress(event);" >
					</td>
				</tr>
				<tr>
					<td>
						<input type="submit" value="确定" id="Submit" />
						<input type="button" value="取消" id="Cancel" onclick="closeWin()"/>
					</td>
					
				</tr>
			</table>
			
		</form>
	</body>
</html>
